package com.vlms.demo;

import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.asymmetric.SignAlgorithm;
import org.junit.Test;

import java.security.Signature;

/**
 * TODO 功能描述
 *
 * @author zh
 * @date 2022/1/10 18:24
 */
public class testJDBC {
    String ip = "10.118.9.50";
    String port = "3306";
    String schema = "vlms-test";
    String url = "jdbc:mysql://{}:{}/{}?useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true";


    @Test
    public void append() {

        Signature signature = SecureUtil.sign(SignAlgorithm.MD5withRSA).getSignature();
        String algorithm = signature.getAlgorithm();
    }
}
